package com.alks.function.data.request.stockdept.pcfactorystockwork;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class ScanStitchRequest {

    @ApiModelProperty(value = "条码")
    private String barcode;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "配色")
    private String color;

    @ApiModelProperty(value = "号码")
    private String sizeNo;

    @ApiModelProperty(value = "订单内序号")
    private Integer seqNo;

    @ApiModelProperty(value = "双数")
    private BigDecimal qty;

    @ApiModelProperty(value = "I 收料 O 发料")
    private String slipType;

    //
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "收料/发料 时间")
    private LocalDate slipDate;

    @ApiModelProperty(value = "订单号（收料时不传）")
    private String slipNo;

    private String companyId;

}
